package com.blankland.dataanalysis.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName sess_gamma_analyse_data
 */
@TableName(value ="sess_gamma_analyse_data")
@Data
public class GammaAnalyseData implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 设备id
     */
    private Long deviceId;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 纬度
     */
    private String latitude;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 解析18个特征向量1
     */
    private Double val1;

    /**
     * 
     */
    private Double val2;

    /**
     * 
     */
    private Double val3;

    /**
     * 
     */
    private Double val4;

    /**
     * 
     */
    private Double val5;

    /**
     * 
     */
    private Double val6;

    /**
     * 
     */
    private Double val7;

    /**
     * 
     */
    private Double val8;

    /**
     * 
     */
    private Double val9;

    /**
     * 
     */
    private Double val10;

    /**
     * 
     */
    private Double val11;

    /**
     * 
     */
    private Double val12;

    /**
     * 
     */
    private Double val13;

    /**
     * 
     */
    private Double val14;

    /**
     * 
     */
    private Double val15;

    /**
     * 
     */
    private Double val16;

    /**
     * 
     */
    private Double val17;

    /**
     * 解析18个特征向量18
     */
    private Double val18;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        GammaAnalyseData other = (GammaAnalyseData) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDeviceId() == null ? other.getDeviceId() == null : this.getDeviceId().equals(other.getDeviceId()))
            && (this.getLongitude() == null ? other.getLongitude() == null : this.getLongitude().equals(other.getLongitude()))
            && (this.getLatitude() == null ? other.getLatitude() == null : this.getLatitude().equals(other.getLatitude()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getVal1() == null ? other.getVal1() == null : this.getVal1().equals(other.getVal1()))
            && (this.getVal2() == null ? other.getVal2() == null : this.getVal2().equals(other.getVal2()))
            && (this.getVal3() == null ? other.getVal3() == null : this.getVal3().equals(other.getVal3()))
            && (this.getVal4() == null ? other.getVal4() == null : this.getVal4().equals(other.getVal4()))
            && (this.getVal5() == null ? other.getVal5() == null : this.getVal5().equals(other.getVal5()))
            && (this.getVal6() == null ? other.getVal6() == null : this.getVal6().equals(other.getVal6()))
            && (this.getVal7() == null ? other.getVal7() == null : this.getVal7().equals(other.getVal7()))
            && (this.getVal8() == null ? other.getVal8() == null : this.getVal8().equals(other.getVal8()))
            && (this.getVal9() == null ? other.getVal9() == null : this.getVal9().equals(other.getVal9()))
            && (this.getVal10() == null ? other.getVal10() == null : this.getVal10().equals(other.getVal10()))
            && (this.getVal11() == null ? other.getVal11() == null : this.getVal11().equals(other.getVal11()))
            && (this.getVal12() == null ? other.getVal12() == null : this.getVal12().equals(other.getVal12()))
            && (this.getVal13() == null ? other.getVal13() == null : this.getVal13().equals(other.getVal13()))
            && (this.getVal14() == null ? other.getVal14() == null : this.getVal14().equals(other.getVal14()))
            && (this.getVal15() == null ? other.getVal15() == null : this.getVal15().equals(other.getVal15()))
            && (this.getVal16() == null ? other.getVal16() == null : this.getVal16().equals(other.getVal16()))
            && (this.getVal17() == null ? other.getVal17() == null : this.getVal17().equals(other.getVal17()))
            && (this.getVal18() == null ? other.getVal18() == null : this.getVal18().equals(other.getVal18()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDeviceId() == null) ? 0 : getDeviceId().hashCode());
        result = prime * result + ((getLongitude() == null) ? 0 : getLongitude().hashCode());
        result = prime * result + ((getLatitude() == null) ? 0 : getLatitude().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getVal1() == null) ? 0 : getVal1().hashCode());
        result = prime * result + ((getVal2() == null) ? 0 : getVal2().hashCode());
        result = prime * result + ((getVal3() == null) ? 0 : getVal3().hashCode());
        result = prime * result + ((getVal4() == null) ? 0 : getVal4().hashCode());
        result = prime * result + ((getVal5() == null) ? 0 : getVal5().hashCode());
        result = prime * result + ((getVal6() == null) ? 0 : getVal6().hashCode());
        result = prime * result + ((getVal7() == null) ? 0 : getVal7().hashCode());
        result = prime * result + ((getVal8() == null) ? 0 : getVal8().hashCode());
        result = prime * result + ((getVal9() == null) ? 0 : getVal9().hashCode());
        result = prime * result + ((getVal10() == null) ? 0 : getVal10().hashCode());
        result = prime * result + ((getVal11() == null) ? 0 : getVal11().hashCode());
        result = prime * result + ((getVal12() == null) ? 0 : getVal12().hashCode());
        result = prime * result + ((getVal13() == null) ? 0 : getVal13().hashCode());
        result = prime * result + ((getVal14() == null) ? 0 : getVal14().hashCode());
        result = prime * result + ((getVal15() == null) ? 0 : getVal15().hashCode());
        result = prime * result + ((getVal16() == null) ? 0 : getVal16().hashCode());
        result = prime * result + ((getVal17() == null) ? 0 : getVal17().hashCode());
        result = prime * result + ((getVal18() == null) ? 0 : getVal18().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", deviceId=").append(deviceId);
        sb.append(", longitude=").append(longitude);
        sb.append(", latitude=").append(latitude);
        sb.append(", createTime=").append(createTime);
        sb.append(", val1=").append(val1);
        sb.append(", val2=").append(val2);
        sb.append(", val3=").append(val3);
        sb.append(", val4=").append(val4);
        sb.append(", val5=").append(val5);
        sb.append(", val6=").append(val6);
        sb.append(", val7=").append(val7);
        sb.append(", val8=").append(val8);
        sb.append(", val9=").append(val9);
        sb.append(", val10=").append(val10);
        sb.append(", val11=").append(val11);
        sb.append(", val12=").append(val12);
        sb.append(", val13=").append(val13);
        sb.append(", val14=").append(val14);
        sb.append(", val15=").append(val15);
        sb.append(", val16=").append(val16);
        sb.append(", val17=").append(val17);
        sb.append(", val18=").append(val18);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}